package com.wk.wanjetpack.net

import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ApplicationComponent
import javax.inject.Singleton

/**
 * @author peng
 * @date 2021/1/20
 * 说明
 */

@InstallIn(ApplicationComponent::class)
@Module
class NetModule {

    @Singleton
    @Provides
    fun provideApi():IApi{
        return IApi.create()
    }
}